package service;

import entity.Ticket;

import java.util.Date;
import java.util.List;

public interface ITicketService {
    boolean sellTicket(Ticket ticket);

    boolean refundTicket(String electronicTicketId);

    Ticket getTicketByElectronicId(String electronicTicketId);

    List<Ticket> getTicketsByScheduleId(String scheduleId);

    List<Ticket> getTicketsByDate(Date date);

    List<Ticket> getTicketsByMovieId(String movieId);
}